package com.rylan.repository;


import org.springframework.stereotype.Repository;
import com.rylan.entity.User;

import java.util.List;

/**
 * @author rylan
 * @description
 */
@Repository
public interface UserRepository {
    public List<User> findAll(int index, int limit);
    public int count();
    public void save(User user);
    public void deleteById(long id);
    public User findById(long id);
    public void update(User user);
}
